﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />    
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" type="text/css" rel="stylesheet" />
   <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>  
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")"  type="text/javascript"></script>  
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>  
    <script src="@Url.Content("~/Scripts/Common/fileformat.validate.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Common/Common.js")"></script>
    <style type="text/css">
        .header
        {
            height: 105px;
            background: #1a1a1a;
            position: fixed;
            margin: 0;
            top: 0;
            width: 100%;
            height:105px;
            left: 0;
            z-index: 99999;
        }
        .menuH {
            position: fixed;
            top:105px;
            left:0;
            width:100%;            
            background-color:rgba(206, 202, 202, 0.48);
            height:28px;
            line-height:28px;
            z-index: 99998;
            margin:0;
        }
        .aMenu {
            color:#0975b4;
            font-family:YouYuan;
            font-size:1em;
        }
            .aMenu:hover {
                color:#1d3996;
                font-family:YouYuan;
            font-size:1em;
            }
        .alogon {
        
            color:#00CCFF;
        }
    </style>    
     <script type="text/javascript">
         $(document).ready(function () {
             $(".divMenu").click(function () {
                 var url = $(this).attr("data-url");
                 window.location.href = url;
             });
         });
    </script>   
</head>
<body>
    <div>
        <div class="header">
            <div style="width: 1024px; margin: 0 auto; background-color:#91aea0">               
                    @if (HttpContext.Current.User.Identity.IsAuthenticated)
                    { 
                         <div id="divLog" style="float:left">
                                <div style="color:#00CCFF">你好!@HttpContext.Current.User.Identity.Name</div>
                         </div>                                            
                        <div style="float:right">@Html.ActionLink("注销", "Logout", "Account", new { area=""}, new { @class = "alogon" })</div>
                        <div style="float:right; margin-right:5px;">@Html.ActionLink("前台","Index","Home",null,new { @class = "alogon" })</div>                      
                    }
               else
                {
                    <div style="float:right">@Html.ActionLink("登陆", "Logon", "Account", null, new { @class="alogon"})</div>
                 }
            </div>
            <div style="width: 1024px; margin: 0 auto;">
                <div style="height: 50px;">
                </div>
                <div style="color: #00CCFF; font-family:'Niagara Solid'; font-weight: bold; font-size: xx-large; width: 400px;
                    float: left;">
                    MusicOnLine Management</div>             
            </div>          
        </div>
         <div class="menuH">
              <div style="width: 1024px; margin: 0 auto;">             
                   <div id="divManageSinger"  class="divMenu" data-url="@Url.Action("Index","ManageSinger")">
                  歌手管理
              </div>
                    <div id="divMangeAlbum" class="divMenu" data-url="@Url.Action("Index","ManageAlbum")">
                  专辑管理
              </div>
                    <div id="divMangeAAC" class="divMenu" data-url="@Url.Action("Index","ManageSong")">
                  歌曲管理
              </div>  
                   <div style="float:right;margin-top:4px;">
                  <div class="divSearch">
                      <div class="divInput" ><input id="txtQText" name="g" type="text" /></div>
                      <div id="btnSearch" class="divSearchBtn">搜索</div>
                  </div>
              </div>        
          </div>  
        </div>        
          <div style="clear:both;"></div>
        <div id="divMain">
            @RenderBody()
        </div>
        <div id="divfooter">Victor.Zhang(2012)</div>
    </div>
  
</body>
</html>
